﻿using System;
using System.Collections.Generic;

namespace ABC.Domain.Entities
{
    public class FullInfoClient : InfoClient
    {
        public string FullName { get { return string.Format("{0} {1} {2}", LastName, FirstName, MiddleName); } }

        public string Avatar { get; set; }

        public string Sex { get; set; }

        public string Post { get; set; }

        public string Department { get; set; }

        public string Company { get; set; }

        public string Work
        {
            get
            {
                return string.Format("{0}{1}{2}", string.IsNullOrEmpty(Post) ? "" : Post + ".", !string.IsNullOrEmpty(Department) ? " Отдел " + Department + "." : "", !string.IsNullOrEmpty(Company) ? " " + Company : "");
            }
        }

        public List<Contact> Addresses { get; set; }

        public List<Contact> Ims { get; set; }

        public List<Contact> SocNets { get; set; }

        public DateTime BirthDay { get; set; }

        public DateTime DateLawToCar { get; set; }

        public string Notes { get; set; }

        public int Age { get; set; }

        public int Experience { get; set; }
       
    }
}
